<?php //$user = $this->requestAction('request/users/auth'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<?php
		echo $this->Html->charset();
		echo $this->Html->meta('icon');
		echo $this->Html->meta('keywords', '');
		echo $this->Html->meta('description', '');
		echo $this->Html->meta(array('name' => 'copyright', 'content' => '2010 Golinucci - Zoffoli'));
		echo $this->Html->meta(array('name' => 'author', 'content' => 'Thomas Golinucci, Stefano Zoffoli'));
		echo $this->Html->meta(array('name' => 'viewport', 'content' => 'initial-scale=1.0, user-scalable=no'));
		?>
		<title><?php echo Configure::read('Site.name'); ?></title>

		<?php
		echo $this->Html->css(array(
				'reset',
				'screen'
			));
		echo $this->Javascript->link(array(
				'https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js',
				'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js'
			));
		echo $scripts_for_layout;
		?>
		
		<!-- Google Analytics -->
		<script type="text/javascript">
			var _gaq = _gaq || [];
			_gaq.push(['_setAccount', 'UA-19589368-1']);
			_gaq.push(['_trackPageview']);

			(function() {
			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
			})();
		</script>
	</head>
	<body>
		
		<div id="content">

			<?php echo $this->Session->flash(); ?>

			<?php echo $content_for_layout; ?>

		</div>

		<?php echo $this->element('sql_dump'); ?>
	</body>
</html>
